package com.authine.cloudpivot.ext.service;

import com.alibaba.cola.dto.SingleResponse;
import com.authine.cloudpivot.ext.dto.transfer.ResaleInvoiceDto;
import com.authine.cloudpivot.ext.dto.transfer.TransferOrderDto;
import com.authine.mvp.app.launcher.dto.bo.response.BO;

public interface PurchaseSaleService {
    /**
     * @parem transferOrder 转售订单保存
     * cn/gomro/core/bizes/purchase/management/service/impl/PurchaseReSaleService.saveOutputOrder
     */
    SingleResponse<BO> saveOutputOrder(TransferOrderDto transferOrder) throws RuntimeException;

    /**
     * 确认开票
     * cn/gomro/core/bizes/purchase/management/service/impl/PurchaseReSaleService.confirmResaleInvoice
     *
     * @param resaleInvoiceModel
     * @return
     */
    SingleResponse<BO> confirmResaleInvoice(ResaleInvoiceDto resaleInvoiceModel);

    /**
     * 保存转售发票信息
     *
     * @param resaleInvoiceModel
     * @return
     */
    SingleResponse<BO> saveResaleInvoice(ResaleInvoiceDto resaleInvoiceModel) throws RuntimeException;
}
